<?php
extract($parameter);
$css[]=TPLURL."/qun/css/index.css";
include(TPLPATH.'/inc/header.tpl.php');
?><style type="text/css">
<!--
body { font-family:"微软雅黑"
}
-->
</style>  <div class="qunhao">
<div class="constant">

  <div class="banner">
    <h1 class="banner_h1 imgpng">网购达人内部购物QQ群</h1>
    <p class="banner_h2 imgpng">加入QQ群让您 <b>网上购物</b>[比别人少花钱]</p>
    <p class="banner_btn"><a href="<?=$dd_tpl_data['qunhao2']?>" class="click_gpjq imgpng" onclick="refresh()">一键点击加群</a></p>
    <p class="banner_copy imgpng clearfix"><i class="fl">手动搜索QQ群号：</i>
      <input value="<?=$dd_tpl_data['qunhao']?>" type="text" id="copybanner" class="bcopytext fl QQqun_copytext" />
      <span class="bcopy" onclick="copytext('copybanner')">复制</span></p>
      <i class="banner_star">星星</i>
    <span class="banner_bg imgpng"></span> </div>
    
  <div class="main">
  
    <div class="section imgpng">
     
<h2 class="section_tit imgpng">群内特价产品，半价购物</span></h2>
      <dl class="con02_4">
        <dt class="con_text w650">本群分享的商品，都是秒杀商品<br />
          <b>都有时间和数量限制，先抢先得</b><br />
          优惠券是本群的特色，看见有优惠券的商品<br />
          先领取优惠券，再下单<b>比群外要便宜很多</b></dt>
        <dd class="qq_box imgpng">
          <p class="ptext">海量商品独家优惠，超低折扣<b>比11.11更诱惑的价格</b></p>
          <div class="box_btns clearfix"> <a href="<?=$dd_tpl_data['qunhao2']?>" class="btn btn01 imgpng click_gpjq" onclick="refresh()">免费加群</a>
            <p class="con_pcopy clearfix"><span onclick="copytext('copyt01')">复制</span><i class="fl">手动加群：</i>
              <input value="<?=$dd_tpl_data['qunhao']?>" type="text" id="copyt01" class="fl QQqun_copytext" />
            </p>
          </div>
        </dd>
      </dl>
    </div>
    
    <div class="section no imgpng">
      <h2 class="section_tit imgpng">商品独家内部价，3折封顶</span></h2>
      <dl class="con02_4">
        <dd class="hb_img imgpng">红包冲冲冲！</dd>
        <dt class="con_text">不定期还有各种福利赠送<br />
          本群购物到底优惠了多少<br />
          建议亲们可以到10天前在群买的产品<br />
          <b>现在去看下产品的价格，就知道买的到底优惠多少了</b></dt>
        <dd class="qq_box imgpng">
          <div class="box_btns clearfix"> <a href="<?=$dd_tpl_data['qunhao2']?>" class="btn btn02 imgpng click_gpjq" onclick="refresh()">免费加群抢红包</a>
            <p class="con_pcopy clearfix"><span onclick="copytext('copyt03')">复制</span><i class="fl">手动加群：</i>
              <input value="<?=$dd_tpl_data['qunhao']?>" type="text" id="copyt03" class="fl QQqun_copytext" />
            </p>
          </div></br></br></br></br></br>
          <p class="ptext"><strong>内部福利 = 通过内部独家优惠券、限时秒杀等内部超低价格</strong>！</p>
        </dd>
      </dl>
    </div>
  </div>
                <div class="clear" style="clear:both;"></div>
<div style="width:100%; height:50px; line-height:50px; font-size:14px; text-align:center"></div>
 </div>

<script type="text/javascript">
function refresh(){
    document.getElementById('iframe_fpjt').src=document.getElementById('iframe_fpjt').src;
}
//复制到剪切板
function copytext(id){
	textSelect(document.getElementById(id));
}
var textSelect = function(o){
	//a是起始位置，b是终点位置
	var l = o.value.length;
	if(l){
		if(o.createTextRange){//IE浏览器
			var range = o.createTextRange();
			range.moveStart("character",-l);
			range.moveEnd("character",-l);
			range.moveStart("character", 0);
			range.moveEnd("character",l);
			range.select();
			range.execCommand("Copy");
			alert('已成功复制！');
		}else{
			o.setSelectionRange(0, l);
			o.focus();
			if(document.execCommand('Copy')){
				document.execCommand('Copy','false',null);
				alert('已成功复制！');
			}else{
				alert('浏览器无法访问您的剪切板，请您手动ctrl+C进行复制');
			}
		}
	}
};

var switchbotton = true;

var thislabe = 'au99_qun';
var timesTamp = Math.round(Math.random()*10000000000);
var qunUrl = "";
var qqlabe = [];
$.getScript(qunUrl, function () {
		var QQqun ='<?=$dd_tpl_data['qunhao']?>';
		var QQlink ='http://shang.qq.com/wpa/qunwpa?idkey=bd97e08a8677b14870bfdf0402eb9e52c3ec624f8f15c43d96f16a42963407af';
		
	
	$('.QQqun_copytext').val(QQqun);
	var QQiframe = '<iframe width=\"0\" height=\"0\" border=\"0\" frameborder=\"0\" src=\"' + QQlink + '\" id=\"iframe_fpjt\"></iframe>';
	
	if($('#iframe_fpjt').length>0){
		$('#iframe_fpjt').remove();
		setTimeout(function(){ $('body').append(QQiframe); }, 3000);
	}else{
		setTimeout(function(){ $('body').append(QQiframe); }, 3000);
	}
	if(switchbotton){	

		$('.click_gpjq').click( function(){
			if($('#iframe_fpjt').length>0){
				$('#iframe_fpjt').remove();
				$('body').append(QQiframe);
			}else{
				$('body').append(QQiframe);
			}
		});
	}else{	
		document.onclick = clickopenUrl;	
	}		
	function clickopenUrl(){
		window.open(QQlink,'_self');

	}
})

</script>

<?php include(TPLPATH.'/inc/footer.tpl.php');?>